package ch04.JieKo;

/**
 * @author chenmin
 * @desc TODO
 * @date 2025/9/3
 */
public class FlyTest {

    public static void makeFly(CanFly flyable) {
        flyable.fly();
    }

    public static void main(String[] args) {
        Plane plane = new Plane();
        Bird bird = new Bird();


        makeFly(plane);
        makeFly(bird);
    }
}
